<html>

<head>
    <title>我的webpack学习之路</title>
    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
</head>

<body>
    <div id="home">HtmlWebpackPlugin:以当前模版生成test.html</div>
    <pre>
new HtmlWebpackPlugin({
    filename: 'test.html', //自定义文件名
    template: './dist/template.html' //以这个html为模版插入js和css
}),
    </pre>
    <img style="width:100px;height:100px;" src="/m.jpg" alt="">
    <img style="width:100px;height:100px;" src="/b/b.jpg" alt="">
    <img style="width:100px;height:100px;" src="./images/1.jpg" alt="">
    <img style="width:100px;height:100px;" src="./images/2.jpg" alt="">
    <script src="http://code.jquery.com/jquery-1.12.0.min.js"></script>
</body>

</html>
